using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._LocationReferencingTools._Configuration._LRSEvent
{
    /// <summary>
    /// <para>Disable Referent Fields</para>
    /// <para>Disables referent fields for an existing linear referencing system (LRS) event
    /// feature class or feature layer. It does not delete the referent columns; it removes the referent column information from the Lrs_Metadata table.</para>
    /// <para>禁用现有线性参照系统 （LRS） 事件的参照字段
    /// 要素类或要素图层。它不会删除所指列;它将从Lrs_Metadata表中删除参照列信息。</para>
    /// </summary>    
    [DisplayName("Disable Referent Fields")]
    public class DisableReferentFields : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DisableReferentFields()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_feature_class">
        /// <para>LRS Event Feature Class</para>
        /// <para>The input feature class or feature layer for the LRS event.</para>
        /// <para>LRS 事件的输入要素类或要素图层。</para>
        /// </param>
        public DisableReferentFields(object _in_feature_class)
        {
            this._in_feature_class = _in_feature_class;
        }
        public override string ToolboxName => "Location Referencing Tools";

        public override string ToolName => "Disable Referent Fields";

        public override string CallName => "locref.DisableReferentFields";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_feature_class, _out_feature_class];

        /// <summary>
        /// <para>LRS Event Feature Class</para>
        /// <para>The input feature class or feature layer for the LRS event.</para>
        /// <para>LRS 事件的输入要素类或要素图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("LRS Event Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_feature_class { get; set; }


        /// <summary>
        /// <para>Updated LRS Event Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated LRS Event Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_feature_class { get; set; }


        public DisableReferentFields SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}